import axios  from "axios";

const instance = axios.create({
  baseURL: import.meta.env.VITE_PROXY_BASE_URL,
  timeout: 5000
});

instance.interceptors.request.use((config) => {
    return config
})

instance.interceptors.response.use((response) => {
    const {data} = response
    return data
})

export default instance;